<!--
 * @Author: Gary 289602025@qq.com
 * @Date: 2024-04-12 22:26:38
 * @LastEditors: Gary 289602025@qq.com
 * @LastEditTime: 2024-04-12 22:26:38
 * @FilePath: \vue3-test\bak\14_v-model\Father.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
  <div>
    <h3>父组件</h3>
    <input v-model="inputValue" />
    <br />
    <input :value="username"
           @input="username = (<HTMLInputElement>$event.target).value" />
    <br />
    <GaryInput v-model:gary="garyInputValue"></GaryInput>
  </div>
</template>

<script setup lang="ts">
  import { ref } from 'vue'
  import GaryInput from './GaryInput.vue'

  let inputValue = ref('')

  let username = ref('')

  let garyInputValue = ref('')
</script>

<style>
</style>